import { createApp } from 'vue'

import App from './App.vue'
import 'element-plus/dist/index.css' // 样式依赖

import * as ElIcons from '@element-plus/icons-vue' // 引⼊图标

//import './assets/main.css'
import router from './router/index'
import elementUI from "element-plus"






//使用axios 不需要导入添加，底层是异步的，并没有install功能所以不需要引用和导入
const test=createApp(App)
for(const iconName in ElIcons){
    test.component(iconName,ElIcons[iconName]);
}
test.use(router).use(elementUI).mount('#app')